package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tz_fl_money")
public class RebateRecords implements Serializable {
        private  static  final long  serialVersionUID = -1646620273095831976L;

    /**
     * 主键
     */
    @TableId
    private Long flmoneyId;

    /**
     *店铺ID
     */
    private Long shopId;

    /**
     * 返利或提现金额
     */
    private  double amount;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 状态(0:待返现1:返现失败2:返现成功3:提现失败4:提现成功)
     */
    private  int  status;

    /**
     * 类型(0:返利 1:提现)
     */
    private int type;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

}
